package com.homework.HomeAcount.service;

import java.util.List;
import java.util.Map;

import com.homework.HomeAcount.entity.Acount;

public interface AcountService {
	
	/**
	 * 
	 * @param pageSize
	 * @param pageNumber
	 * @return
	 */
	public List<Map<String, Object>> loadAcountList(int pageSize,int pageNumber,Map<String, Object> paramMap);
	
	/**
	 * 
	 * @return
	 */
	public int getListSize(Map<String, Object> paramMap);
	
	/**
	 * 
	 * @param balance
	 * @return
	 */
	public List<Map<String, Object>> getAcountTypeList(String balance);
	
	/**
	 * 
	 * @return
	 */
	public List<Map<String, Object>> getAcountForwhoList();
	
	/**
	 * 
	 * @param id
	 * @return
	 */
	public Map<String, Object> loadAcountById(String id);
	
	/**
	 * 账单修改
	 * @param acount
	 * @throws Exception
	 */
	public void updateAcountById(Acount acount) throws Exception;
	
	/**
	 * 账单新增
	 * @param acount
	 * @throws Exception
	 */
	public void addAcount(Acount acount) throws Exception;
	
	/**
	 * 根据主键删除账单主键
	 * @param id
	 * @throws Exception
	 */
	public void deleteAcountById(String id) throws Exception;
}
